API Reference > Other Classes > OdString Class > OdString Operators > OdString::[] Operator
OdString::[] Operator
Syntax
C++
OdChar operator [](int charIndex) const;
Parameters 
Description 
int charIndex 
[in] Character index. 

Returns the single character of this String object at the specified position.

Indexing Operator

Copyright © 2002–2020. Open Design Alliance. All rights reserved.